﻿using System;

namespace HYCodeBase.Algorithm.LRUCache
{
	internal class LRULindNode<X, Y>
	{
		internal X ThisKey
		{
			get
			{
				return this.m_thisKey;
			}
			set
			{
				this.m_thisKey = value;
			}
		}

		internal Y ThisValue
		{
			get
			{
				return this.m_thisValue;
			}
			set
			{
				this.m_thisValue = value;
			}
		}

		internal LRULindNode<X, Y> PreNode
		{
			get
			{
				return this.m_preNode;
			}
			set
			{
				this.m_preNode = value;
			}
		}

		internal LRULindNode<X, Y> PostNode
		{
			get
			{
				return this.m_postNode;
			}
			set
			{
				this.m_postNode = value;
			}
		}

		private X m_thisKey;

		private Y m_thisValue;

		private LRULindNode<X, Y> m_preNode;

		private LRULindNode<X, Y> m_postNode;
	}
}
